Repository navigation
Add docs-guide-review skill (guide review pipeline orchestrator) - #5841
Merged
Merged
Conversation
A thin orchestrator that runs a guide through the full review pipeline in order — structure (docs-guide-revision) -> accuracy (docs-guide-test) -> developmental (docs-guide-develop) -> copyedit (Vale) — by delegating to each stage skill and consolidating their output into one report. It owns only the sequencing, the gating between stages, and the report; it makes no edits or judgments of its own. Design: - Threads the artifact through the stages: stage 1 produces a revised draft, and stages 2-4 operate on that draft, not the original. - Tests the revised (Code Sandwich) draft, which docs-guide-test reconstructs with its concat-header default. - Runs every stage in one pass, tagging findings by severity: broken code blocks publish, Vale CI findings block merge, static-check and developmental findings are advisory, silent-guidance structural choices are author decisions. Hard-stops only on not-a-guide or a stage-2 harness failure. Committed on the integration branch, which also carries docs-guide-test and docs-guide-develop so the full chain is runnable for development. The orchestrator's own PR should be cut from main after its dependencies merge. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Skip docs-guide-revision's Tone pass during an orchestrated run and run it once in stage 4, before Vale, so prose changed in stage 3 is reviewed. Tone findings are suggestions, applied only on request. - A stage 2 harness failure marks the code untested but no longer holds back stages 3 and 4, which read the draft. - A skipped stage 2 run still runs and reports its static checks. - Describe stage 3's Code Sandwich quality and global-audience checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stage 2 now reports whether each claim the prose makes about the code's behavior is true, false, or can't be verified. A false claim blocks publish; an unverifiable one is advisory. Until docs-guide-test has a claims check, the orchestrator reports it as not run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📖 Docs PR preview linksThis PR does not change any pages in /docs. If you make updates, links to the modified pages will appear here. |
Stage 2 runs the guide's manifest with --guide <revised draft> --mode concat-header, so the manifest supplies dependencies, setup, driver, and assertions while the code comes from stage 1's draft. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The claims check is on main now, so stage 2 reads its CLAIMS results (true, false, can't verify, stale, not run) instead of reporting the check as not run. A missing claims ledger is written with the test skill's "Adding a new guide" steps. The harness runs static checks and claims for skipped guides itself. Stale claims are expected on a revised draft and are advisory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
flippedcoder
approved these changes
Dec 3, 2026
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the guide-review orchestration change.
No open issues 🎉
What changed in this PR
Adds docs-guide-review to coordinate existing guide-review stages and return one consolidated report, without making independent editorial judgments.
Changes:
- Sequences structure, accuracy, developmental editing, and copyediting against the revised draft.
- Defines blocking versus advisory results and continues later stages when testing cannot run.
- Runs the Tone pass once, after developmental edits.
No files under docs/ change, so this PR is outside the automated documentation-review scope.
| File | Description |
|---|---|
.claude/skills/docs-guide-review/SKILL.md |
Defines stage delegation, draft handoffs, severity gates, and consolidated reporting. |
Review effort: Balanced
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the
docs-guide-reviewskill. It runs a guide through the four-stage review pipeline in order, delegating each stage to the skill that owns it, and returns one consolidated report. It makes no structural, accuracy, developmental, or style judgments of its own.docs-guide-revisionmaindocs-guide-testmain(#5651, #5869)docs-guide-developAGENTS.md, then CI-scoped ValemainDependencies
This skill calls the other stage skills by name.
docs-guide-testand its claims check are onmain(#5651, #5869). #5838 (docs-guide-develop) still needs to merge, so merge it before this PR.Stage 2 reads the claims check's results (true, false, can't verify, stale, not run). Some stale claims are expected when stage 2 runs against the revised draft, because stage 1 rewords the sentences that claims quote.
What the orchestrator does
docs-guide-revisionskips its Tone pass during an orchestrated run. The Tone pass runs once in stage 4, before Vale, so prose changed in stage 3 is reviewed too. Tone findings are suggestions, applied only on request, like stage 3's edits.Files
.claude/skills/docs-guide-review/SKILL.md🤖 Generated with Claude Code